home *** CD-ROM | disk | FTP | other *** search
/ Champak 119 / (Vol 119) Nov 09 2010.iso / Games / orbitrax.swf / scripts / DefineSprite_674 / frame_1 / DoAction.as
Text File  |  2010-11-09  |  342b  |  14 lines

  1. _visible = false;
  2. _name = gameMain.getName();
  3. bounds = this.getBounds(gameMain.piste);
  4. angle = _rotation * gameMain.radVal;
  5. cosa = Math.cos(angle);
  6. sina = Math.sin(angle);
  7. gameMain.addObjIfHit(this,"hitZone","borderArray");
  8. tcol = true;
  9. if(addIt != undefined)
  10. {
  11.    set("gameMain." + addIt + "." + _name,this);
  12.    tcol = false;
  13. }
  14.